package com.jwt.dao;

import com.jwt.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Mapper
public interface UserDao {

    @Select("select * from user where username=#{username} and password=#{password}")
    public User findBy(User user);
}
